package com.linkgie.galaxyframework.utils.bean;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.linkgie.galaxyframework.utils.StringConverter;

/**
 * 标注一个类型为 Java Bean ；
 * 
 * @author huanghaiquan
 *
 */
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Bean {

    public static final Class<?> NULL_CONVERTER = StringConverter.class;

    Class<?> converter() default StringConverter.class;
}
